package com.atguigu.gmall.search.service;

import com.atguigu.gmall.search.Goods;
import com.atguigu.gmall.search.vo.SearchParamVo;
import com.atguigu.gmall.search.vo.SearchResultVo;

/**
 * @Author:lyd
 * @Date:2023/8/26 9:27
 * @Version:1.0
 * @Description
 **/
public interface SearchService {
    void save(Goods goods);

    void deleteGoods(Long id);

    SearchResultVo search(SearchParamVo param);

    void incrHotScore(Long skuId, Long score);
}
